
<link type="text/css" href="inc/rl.css" rel="stylesheet">

<fieldset><legend>模板信息</legend>
<table>
	<tr>
		<td align="right" width="20%">名称：</td>
		<td>{[$template.name]}</td>
	</tr>
	<tr>
		<td align="right">描述：</td>
		<td>{[$template.content|nl2br]}</td>
	</tr>   
</table>
</fieldset>

<fieldset><legend>员工信息</legend>
<form id="form_add">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table id="priv_add">
	<tr>      
		<td colspan="3" align="left">查找：<input type="text" name="search" id="search" value="" size="16"/></td>
	</tr>
	<tr>
		<td align="center" width="45%">未选择</td>
		<td width="10%"></td>
		<td align="center" width="45%">已选择</td>
	</tr>
	<tr>
	    <td height="235px" align="center">
		<select multiple="multiple" name="list[]" id="list" style="height:100%;width:100%;">
			{[foreach name=outer key=key item=item from=$result]}
			<option value="{[$item.id]}" {[$item.class]}>{[$item.name]} [{[$item.zjm]}/{[$item.dept]}]</option>
			{[/foreach]}</select>
		</td>
		<td align="center" height="160px"><div id="rl">
			<a href="#" id="addT" class="button" >&raquo;</a><br>
			<a href="#" id="addAllT" class="button" >&raquo;&raquo;</a><br>
			<a href="#" id="removeT" class="button">&laquo;</a><br>
			<a href="#" id="removeAllT" class="button">&laquo;&laquo;</a></div>
		</td>
		<td height="235px" align="center">
		<select multiple="multiple" name="emp[]" id="emp" style="height:100%;width:100%;">
		</select>
		</td>
	</tr>
</table>
</form>
</fieldset>

<script type='text/javascript' src='js/kq/plan/template.js'></script>
